<template>
  <PageWrapper :title="`用户` + userId + `的资料`" content="用户详情"
   contentBackground
    @back="goBack">
    
  </PageWrapper>
</template>

<script setup lang="ts">
import { PageWrapper } from '@/components/Page';
import { useGo } from '@/hooks/web/usePage';
import { ref } from 'vue';
import { useRoute } from 'vue-router';

const route = useRoute()
const userId = ref(route.params?.id);
const go = useGo();


// 页面左侧点击返回链接时的操作
function goBack() {
  // 返回上一页
  go('/system/user');
}
</script>